package com.example.back.controller;

import com.example.back.bean.ShuffleInfo;
import com.example.back.dao.ShuffleInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class shuffleInfoController {
    @Autowired
    private ShuffleInfoDao shuffleInfoDao;

    @RequestMapping(value = "getshuffleInfoList")
    List<ShuffleInfo> getShuffleInfo(){
       return shuffleInfoDao.getShuffleInfo();
    }
}
